public class test {

    public static void main (String[] args) {
//        GuessGame game = new GuessGame();
//        game.startGame();
        Dog[] dogs = new Dog[3];
        dogs[0]=new Dog();
        dogs[1]=new Dog();
        dogs[2]=new Dog();

        dogs[0].name = "Bob";
        dogs[1].name = "kit";
        dogs[2].name = "book";
        int i = 0;
        while(i<3){
            dogs[i].bark();
            i++;
        }

    }
}




